package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.MyWalletBiz;
import ui.activity.mine.contract.MyWalletContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class MyWalletModule {
    private MyWalletContract.View view;

    public MyWalletModule(MyWalletContract.View view) {
        this.view = view;
    }

    @Provides
    public MyWalletContract.View provideView() {
        return view;
    }

    @Provides
    public MyWalletBiz provideBiz() {
        return new MyWalletBiz();
    }
}